package com.accp.chs2.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Brand implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3076133753859180075L;
	private Long id;
	private Date createDate;
	private Date modifyDate;
	private String name;
	
	/** Ʒ���µ���Ʒ */
	private Set<Product> products = new HashSet<Product>();
	
	
	
	public Set<Product> getProducts() {
		return products;
	}
	public void setProducts(Set<Product> products) {
		this.products = products;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		return "Brand [id=" + id + ", createDate=" + createDate + ", modifyDate=" + modifyDate + ", name=" + name + "]";
	}

	

}
